package com.xi.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Borrow {
    private Integer id;//借阅id
    private Integer userId;//用户id
    private Integer bookId;//书籍id
    private Integer borrowDays;//借阅天数
    private LocalDateTime borrowingTime;//借阅时间
    private LocalDateTime returnTime;//归还时间
    private Integer status;//状态 0-已归还 ，1-未归还

    private String bookName;//书籍名称
    private String username;//用户名称
}
